/*
 * Compare.h
 *
 * This file is part of the MPInteger library
 * Distributed under the GNU General Public License
 *
 * Written by Bill Garrison
 * Last changed 2008 Oct 13
 *
 * This file includes methods to compare MPInteger objects.
 */

#import <BGComparisonResult.h>

#import "Declare.h"
#import "Get.h"

@interface MPInteger (Compare)

/* compare: returns BGOrderedAscending if caller < other, BGOrderedDescending if
 * caller > other, or BGOrderedSame if caller = other. */
-(BGComparisonResult) compare: (MPInteger *) other;

/* equal: returns true if caller and other are equal, false otherwise. */
-(_Bool) isEqualToMPInteger: (MPInteger *) other;

@end
